package com.angel.mapper;

import com.angel.bean.dto.BabyRecordsDto;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import com.angel.bean.BabyRecords;

@Mapper
public interface BabyRecordsDao {
    int insert(@Param("babyRecords") BabyRecords babyRecords);

    int insertSelective(@Param("babyRecords") BabyRecords babyRecords);

    int insertList(@Param("babyRecordss") List<BabyRecords> babyRecordss);

    int update(@Param("babyRecords") BabyRecords babyRecords);

    List<BabyRecordsDto> selectAllhasName(@Param("babyRecords") BabyRecords babyRecords);

    List<BabyRecords> selectAll(@Param("babyRecords") BabyRecords babyRecords);
}
